package com.xhqgov.manage.controller;

import com.xhqgov.manage.model.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@Controller
public class IndexContoller extends BaseController{

    @RequestMapping("/index")
    public String index(Map<String, Object> map){
        map.put("name",getSessionObject(SESSION_KEY, User.class).getName());
        return "index";
    }
}
